<?php

namespace app\index\controller;

use app\index\model\Banner as BannerModel;
use app\index\model\Config as ConfigModel;
use app\index\model\Healthy;
use think\Controller;
use think\Request;

class Institute extends BaseController
{
    public function __construct(Request $request = null)
    {
        parent::__construct($request);
        $banner = BannerModel::getBanner('qingshitu');
        $action = $request->action();
        $this->assign('banner', $banner);
        $this->assign('action', $action);
    }

    /**
     * 美食研究室
     */
    public function cate($id = 0)
    {
        //机构介绍
        $intro = ConfigModel::getBaseValue('institution_intro');
        $this->assign('intro', $intro);
        return $this->fetch("institute-cate");
    }

}
